home *** CD-ROM | disk | FTP | other *** search
/ Network CD 1 / Network CD.iso / tbag / 1-10 / tb4 / doc-files / cli-doc / resident.doc < prev    next >
Text File  |  1986-09-10  |  3KB  |  64 lines

  1. The Following is a short explanation of how to enable the `Resident' Command.
  2.  
  3. Copy Resident to Sys:c Directory
  4. Copy CLI-Resident to Sys:l Directory
  5. Type the following.
  6.       Resident CLI l/CLI-Resident REPLACE
  7. Then the following.
  8.       Resident <Filename1> <Location><Filename2>
  9. Where <Filename1> = The name you want to call the command.
  10. Where <Location>  = The directory where the file can be found.
  11. Where <Filename2> = The name of the File you want to reside in the memory.
  12. (The two Filenames can be the same.)
  13. NOTE: Whichever CLI you impliment the `Resident' command, it will not
  14.       work in that CLI. Therefore it is advised that you have it in your
  15.       Startup-Sequence File, then open up another CLI and then `EndCLI'
  16.       the original CLI that the command was implimented from.
  17.  
  18.  
  19. The Following is a batch file sequence that illustrates the implimentation
  20. of the `Resident' Command. It could be added to your Startup-Sequence file.
  21. It will enable the `Resident' and copy 9 files into Residency. Then it will
  22. open up 2 CLIs and close the original CLI.
  23.  
  24. Resident CLI l/CLI-Resident REPLACE
  25. Resident CD C:CD
  26. Resident Copy C:Copy
  27. Resident Del C:Delete
  28. Resident Dir C:Dir
  29. Resident DiskCopy C:DiskCopy
  30. Resident Format C:Format
  31. Resident Info C:Info
  32. Resident List C:List
  33. Resident Rename C:Rename
  34. NewCLI "CON:350/150/200/50/RAM's CLI"
  35. NewCLI "CON:0/10/550/190/AMIGA's CLI"
  36. EndCLI > Nil:
  37.  
  38. NOTE: On the fourth line, the second word is `Del'. The reason that `Delete'
  39.       was not used, even tough `Delete' is the original name of the command,
  40.       is because `Delete' is a KEY word that Resident uses. It is used to
  41.       `Delete' a file from Residency.
  42.  
  43. The Following will delete `Diskcopy' from Residency.
  44.       Resident Delete Diskcopy
  45.  
  46. If you type in `Resident', by itself, you'll get a list of the names, how
  47. many times the file is being used, and the memory location of the file.
  48. By all means, 9 is not the limit of files that you can put into Residency.
  49. You can put MORE or LESS files. It's capacity sorely depends on your needs
  50. and your memory availability.
  51.  
  52. WARNING: If you choose to put any `NON-C Directory Command' File into
  53.          Residency, like TxEd, it is advised that you only run it once
  54.          from the Residency. For example. In order to have more than
  55.          one TxEd running simultaneously, run the next TxEd from within
  56.          the TxEd program, `Right-Amiga' depressed along with `4', or
  57.          select a free CLI and type the directory where TxEd is stored,
  58.          for example `DF0:TxEd'. DO NOT run the TxEd for the second
  59.          time from the Residency simultaneously while the first one
  60.          is still running. This will have a disastrous effect, and you
  61.          will get a house call from the `GURU MEDITATORS'.
  62.  
  63.                                                   <<JOHN>>
  64.